package com.xxl.job.executor.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 电话信号
 * @author wang.kunlin
 * @date 2020-09-14
 */
public class SignalDefDhModel {

    /** 唯一标识ID */
    private Long resId;

    /** 创建日期 */
    private String resCreateDate;

    /** 创建人 */
    private String resCreator;

    /** 修改日期 */
    private String resEditDate;

    /** 修改人 */
    private String resEditor;

    /** 版本号 */
    private Long resVersion;

    /** 展示分组名称 */
    private String dspGrpName;

    /** 信号名称（信号标准名） */
    private String name;

    /** 信号编码，前缀是设备编码 */
    private String code;

    /** 01 - 防区报警  02 -防区撤布防状态 03 - 系统状态 */
    private String signalType;

    /** 0-模拟量；1-状态量；2-模拟控制量；3-状态控制量 */
    private Long entityTypeId;

    /** 采集口唯一标识 */
    private String gatherResId;

    /** 采集口id */
    private String gatherId;

    /** 控制器地址 */
    private String gatherAddr;

    /** 回路地址 */
    private String moduleAddr;

    /** 设备地址 */
    private String pointAddr;

    /** 设备唯一编码 */
    private String devCode;

    /** 0：实测量；1：推测量 */
    private Long getvalmode;

    /** 数据采集敏感度 */
    private String delta;

    /** 异常敏感度 */
    private String abnormal;

    /** 控制上限 */
    private String uplimit;

    /** 控制下限 */
    private String lwlimit;

    /** 额定值 */
    private String specval;

    /** 测量值单位 */
    private String valunit;

    /** 顺序号 */
    private Long orderNum;

    /** 租户ID */
    private Long tenantid;

    /** 信号数据 **/
    private String signalValue;

    private String remark;

    private String gatherInstruct;

    public void setResId(Long resId)
    {
        this.resId = resId;
    }

    public Long getResId()
    {
        return resId;
    }
    public void setResCreateDate(String resCreateDate)
    {
        this.resCreateDate = resCreateDate;
    }

    public String getResCreateDate()
    {
        return resCreateDate;
    }
    public void setResCreator(String resCreator)
    {
        this.resCreator = resCreator;
    }

    public String getResCreator()
    {
        return resCreator;
    }
    public void setResEditDate(String resEditDate)
    {
        this.resEditDate = resEditDate;
    }

    public String getResEditDate()
    {
        return resEditDate;
    }
    public void setResEditor(String resEditor)
    {
        this.resEditor = resEditor;
    }

    public String getResEditor()
    {
        return resEditor;
    }
    public void setResVersion(Long resVersion)
    {
        this.resVersion = resVersion;
    }

    public Long getResVersion()
    {
        return resVersion;
    }
    public void setDspGrpName(String dspGrpName)
    {
        this.dspGrpName = dspGrpName;
    }

    public String getDspGrpName()
    {
        return dspGrpName;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setSignalType(String signalType)
    {
        this.signalType = signalType;
    }

    public String getSignalType()
    {
        return signalType;
    }
    public void setEntityTypeId(Long entityTypeId)
    {
        this.entityTypeId = entityTypeId;
    }

    public Long getEntityTypeId()
    {
        return entityTypeId;
    }
    public void setGatherResId(String gatherResId)
    {
        this.gatherResId = gatherResId;
    }

    public String getGatherResId()
    {
        return gatherResId;
    }
    public void setGatherId(String gatherId)
    {
        this.gatherId = gatherId;
    }

    public String getGatherId()
    {
        return gatherId;
    }

    public String getGatherAddr() {
        return gatherAddr;
    }

    public void setGatherAddr(String gatherAddr) {
        this.gatherAddr = gatherAddr;
    }

    public void setModuleAddr(String moduleAddr)
    {
        this.moduleAddr = moduleAddr;
    }

    public String getModuleAddr()
    {
        return moduleAddr;
    }
    public void setPointAddr(String pointAddr)
    {
        this.pointAddr = pointAddr;
    }

    public String getPointAddr()
    {
        return pointAddr;
    }
    public void setDevCode(String devCode)
    {
        this.devCode = devCode;
    }

    public String getDevCode()
    {
        return devCode;
    }
    public void setGetvalmode(Long getvalmode)
    {
        this.getvalmode = getvalmode;
    }

    public Long getGetvalmode()
    {
        return getvalmode;
    }
    public void setDelta(String delta)
    {
        this.delta = delta;
    }

    public String getDelta()
    {
        return delta;
    }
    public void setAbnormal(String abnormal)
    {
        this.abnormal = abnormal;
    }

    public String getAbnormal()
    {
        return abnormal;
    }
    public void setUplimit(String uplimit)
    {
        this.uplimit = uplimit;
    }

    public String getUplimit()
    {
        return uplimit;
    }
    public void setLwlimit(String lwlimit)
    {
        this.lwlimit = lwlimit;
    }

    public String getLwlimit()
    {
        return lwlimit;
    }
    public void setSpecval(String specval)
    {
        this.specval = specval;
    }

    public String getSpecval()
    {
        return specval;
    }
    public void setValunit(String valunit)
    {
        this.valunit = valunit;
    }

    public String getValunit()
    {
        return valunit;
    }
    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }
    public void setTenantid(Long tenantid)
    {
        this.tenantid = tenantid;
    }

    public Long getTenantid()
    {
        return tenantid;
    }

    public String getSignalValue() {
        return signalValue;
    }

    public void setSignalValue(String signalValue) {
        this.signalValue = signalValue;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getGatherInstruct() {
        return gatherInstruct;
    }

    public void setGatherInstruct(String gatherInstruct) {
        this.gatherInstruct = gatherInstruct;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("resId", getResId())
                .append("resCreateDate", getResCreateDate())
                .append("resCreator", getResCreator())
                .append("resEditDate", getResEditDate())
                .append("resEditor", getResEditor())
                .append("resVersion", getResVersion())
                .append("dspGrpName", getDspGrpName())
                .append("name", getName())
                .append("code", getCode())
                .append("signalType", getSignalType())
                .append("entityTypeId", getEntityTypeId())
                .append("gatherResId", getGatherResId())
                .append("gatherId", getGatherId())
                .append("gatherAddr", getGatherAddr())
                .append("moduleAddr", getModuleAddr())
                .append("pointAddr", getPointAddr())
                .append("devCode", getDevCode())
                .append("getvalmode", getGetvalmode())
                .append("delta", getDelta())
                .append("abnormal", getAbnormal())
                .append("uplimit", getUplimit())
                .append("lwlimit", getLwlimit())
                .append("specval", getSpecval())
                .append("valunit", getValunit())
                .append("orderNum", getOrderNum())
                .append("gatherInstruct", getGatherInstruct())
                .append("tenantid", getTenantid())
                .toString();
    }
}
